package org.kongqian.marketing.domain;

import java.util.Date;
import org.kongqian.basic.domain.BaseDomain;
import org.kongqian.orgs.domain.Employee;

/**
 * <p>
 * 
 * </p>
 *
 * @author kq
 * @since 2022-10-24
 */
public class Clue extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 全名
     */
    private String full_name;
    /**
     * 称呼
     */
    private String appellation;
    /**
     * 公司
     */
    private String company;
    /**
     * 职位
     */
    private String job;
    private String email;
    private String phone;
    private Employee sales;
    /**
     * 移动电话
     */
    private String mphone;
    private String address;
    /**
     * 客户来源，关联向数据字典明细
     */
    private Long source;
    /**
     * 所属的营销人员，关联向员工表
     */
    private Long owner;
    /**
     * 0-未分配  1-跟进中 2-已转化为商机 -1:放入线索池
     */
    private Integer state;
    private String create_by;
    private Date create_time;
    private String edit_by;
    private Date edit_time;
    private String description;
    /**
     * 最近一次跟进概述
     */
    private String contact_summary;
    /**
     * 下一次联系的时间
     */
    private Date next_contact_time;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Employee getSales() {
        return sales;
    }

    public void setSales(Employee sales) {
        this.sales = sales;
    }

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getFull_name() {
        return full_name;
    }

    public void setFull_name(String full_name) {
        this.full_name = full_name;
    }

    public String getAppellation() {
        return appellation;
    }

    public void setAppellation(String appellation) {
        this.appellation = appellation;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMphone() {
        return mphone;
    }

    public void setMphone(String mphone) {
        this.mphone = mphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getSource() {
        return source;
    }

    public void setSource(Long source) {
        this.source = source;
    }

    public Long getOwner() {
        return owner;
    }

    public void setOwner(Long owner) {
        this.owner = owner;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getEdit_by() {
        return edit_by;
    }

    public void setEdit_by(String edit_by) {
        this.edit_by = edit_by;
    }

    public Date getEdit_time() {
        return edit_time;
    }

    public void setEdit_time(Date edit_time) {
        this.edit_time = edit_time;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContact_summary() {
        return contact_summary;
    }

    public void setContact_summary(String contact_summary) {
        this.contact_summary = contact_summary;
    }

    public Date getNext_contact_time() {
        return next_contact_time;
    }

    public void setNext_contact_time(Date next_contact_time) {
        this.next_contact_time = next_contact_time;
    }

    @Override
    public String toString() {
        return "Clue{" +
                "id=" + id +
                ", full_name='" + full_name + '\'' +
                ", appellation='" + appellation + '\'' +
                ", company='" + company + '\'' +
                ", job='" + job + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", mphone='" + mphone + '\'' +
                ", address='" + address + '\'' +
                ", source=" + source +
                ", owner=" + owner +
                ", state=" + state +
                ", create_by='" + create_by + '\'' +
                ", create_time=" + create_time +
                ", edit_by='" + edit_by + '\'' +
                ", edit_time=" + edit_time +
                ", description='" + description + '\'' +
                ", contact_summary='" + contact_summary + '\'' +
                ", nextContact_time=" + next_contact_time +
                '}';
    }
}
